//
//  DatabaseSql.h
//  微他
//
//  Created by 微他 on 14-8-5.
//  Copyright (c) 2014年 微他. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DatabaseSql : NSObject

//查询LH_member表所有数据
+ (NSArray *)queryAllMember;
//查询省
+ (NSArray *)queryProvince;
//查询市
+ (NSArray *)queryCityid:(NSString *)provid;
//查询区
+ (NSArray *)findprovid:(NSString *)provid
                 cityID:(NSString *)cityId;
//查询省名
+ (NSArray *)findprovinceName:(NSString *)provid;
//查询市名
+ (NSArray *)findcityName:(NSString *)cityid;
//查询城市名
+ (NSArray *)finddistrictName:(NSString *)districtid;


//查询所有的省份
+ (NSArray *)queryAllProvinces;

//根据省份取得相应的城市
+ (NSArray *)queryCityForProvinces:(NSString *)provinceId;
//取得区域
+ (NSArray *)queryDistrict:(NSString *)Id;
+ (NSArray *)findprovid:(NSString *)provid
                 cityID:(NSString *)cityId;
+ (NSString *)findproidbasename:(NSString *)proname;
+ (NSString *)findcityidbasename:(NSString *)cityname;

//插入pushkey
+ (NSArray *)insertPushKey:(NSString *)pushkey;
@end
